﻿CREATE PROCEDURE [dbo].[usuario_Insert]
	
	@nome nvarchar(100),
	@email nvarchar(100),
	@senha nvarchar(100),
	@ativo bit,
	@permissaoID int,
	@chaveAcesso nvarchar(32) = null,
	@usuarioID int OUTPUT
AS
	SET NOCOUNT ON
	INSERT INTO TBUsuario(nome,email,senha,ativo,[permissaoID],chaveAcesso) VALUES(@nome,@email,@senha,@ativo,@permissaoID,@chaveAcesso)
	SET @usuarioID = SCOPE_IDENTITY()





